﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class Cat : Animal, IClimb
    {
        public Cat(string name) :base(name)
        {
            
        }
        public void Climb()
        {
            Console.WriteLine("我是{0}，我会爬树",this.Name);
        }

        public override void Eat()
        {
            Console.WriteLine("我是{0}，我不爱吃东西", this.Name);
        }
    }
}
